 package baza;

public class Ustanove {
	
	public static final String DATABASE_TABLE = "ustanove";
	public static final String  C_ID_USTANOVE = "id";
	public static final String  C_NAZIVI_USTANOVA = "naziv";
	public static final String sql  = String.format("create table %s(%s INT, %s TEXT )", 
			DATABASE_TABLE, C_ID_USTANOVE, C_NAZIVI_USTANOVA );
	
	
	private int id;
	private String naziv;
	
	public Ustanove(int id,String naziv){
		this.id = id;
		this.naziv = naziv;
	}
	/**
	 * @return the naziv
	 */
	public String getNaziv() {
		return naziv;
	}
	/**
	 * @param naziv the naziv to set
	 */
	public void setNaziv(String naziv) {
		this.naziv = naziv;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	public int getId(){
		return this.id;
	}
	public String getNazivUstanova(){
		return this.naziv;
	}

}
